package skyhyun;

public class J31_RetangleService implements J31_RetangleInterface {

	public float getArea(J31_RetangleVO r) {
		return r.getWidth() * r.getHeight();
	}
	
	public float getPerimeter(J31_RetangleVO r) {
		return (2 * r.getWidth()) + (2 + r.getHeight());
	}
}
